package com.example.quartzdemo.mapper;

import com.example.quartzdemo.dto.TaskDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TaskMapper {
 
    @Select("select id, task_name taskName, cron from t_task where is_deleted = 0")
    List<TaskDTO> getAllTask();
}
